Setting the Log Level in Runtime
You should include logic to set log levels in runtime. For example, a robot may interrogate a database to establish what log level to set and then execute a rule accordingly.
To set the log level in runtime in a rule:
1. | In the rule, add a condition establishing the required log level. |
2. | Insert an instruction. |
3. | Select Library Objects > Administration > Set log level for logger. |
4. | Select the Logger and Level. |